package com.ynny.Zuoye;

public class Cylinder extends Circle {

    public double height;

    public Cylinder(){
        height = 1;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double findVolume(){

        double s = findArea() * height;

        return s;
    }
}
